<?php
/**
 * Created by PhpStorm.
 * User: 陈杰
 * QQ:823380606
 * Date: 2019/12/4
 * Time: 23:00
 */

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class ApiChatController extends Controller
{
    /**
     * 发送消息
     */
    public function send_msg(Request $request)
    {
        $rules = [
            'gid' => 'required|integer|min:1',
            'content' => 'required|min:2|max:255',
            'type' => 'required|integer|min:1|max:6'
        ];

        $sqlmap = self::checkValidate($rules, $request->all());
        
    }
}